home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
filutil
/
alist100.zip
/
ANSILIST.DOC
next >
Wrap
Text File
|
1995-01-29
|
7KB
|
166 lines
────╥───╖ ╓───────╖
║ ╙╖ ╓─────╖╓╜ ╓─────╫──╖ ╓──╖ ╓─╖╓─────╖╓───────╖
║ ╙╖ ║ ╙╢ ╙──╖ ║ ║ ║ ║ ║ ║║ ╓───╜╙─╖ ╓───╜
║ ╓╖ ╙╖ ║ ╙╖ ╙─╖║ ║ ╙╖ ║ ║ ║║ ║ ║ ║
║ ║╙╖ ╙╖║ ╓─╖ ╙╥──╖ ║║ ║ ║ ║ ║ ║║ ╙───╖ ║ ║
║ ╙─╜ ║║ ║ ╙╖ ║ ╙╖ ║║ ║ ║ ║ ║ ║╙╖ ║ ║ ║
║ ╓─╖ ╙╢ ║ ║ ║ ╓─╜ ║║ ║ ║ ╙───╖║ ║ ╙──╖ ║ ║ ║
║ ║ ╙╖ ╙╖ ║ ║ ╟─╜ ╓─╜║ ║ ║ ║║ ║╓───╜╓╜ ║ ║
║ ║ ╙╖ ║ ║ ║ ╟───╜ ║ ║ ╙─────╜╙─╜╙────╜ ╙─╜
╙──╜ ╙─╥╜ ║ ║ ║ ╙──╜
╙──╜ ╙──╜
ANSILIST v 1.00 29.1.95
═════════════════════════════ by Walter Gamba
ANSILIST is a small, but fast, text viewer. It has, as one can guess from the
name, ANSI capabilities, i.e. it can display text with embedded ANSI escape
sequences. It does not need ANSI.SYS, of course.
ANSILIST is shareware, but cheap. Pleas read the Shareware notice.
─────────
file list
───────────────
Your ZIP file must contain the following:
ANSILIST.EXE the exe file
ANSILIST.DOC this doc
HUNGBOOK.COL the test file
HOW TO RUN IT
───────────────
To run ANSILIST simply type on the command line:
>>ANSILIST filelame [/t] [/c]
"filename" is the name of the file you want to list. It can list files with up
to 650,000 lines..
/t will force ANSILIST to start in plain text mode (by default it
starts in ANSI mode).
/c will force it to start in ClearScreen mode (by default
the ClearScreen mode is turned off).
ANSI mode: the ability to read end interprete ansi escape sequences.
when it is turned off ansi escapes are treated as normal text.
ClearScreen mode: in this mode, before every screen update, the program will
wipe off the screen. If this is turned off it won't.
Read the ANSI section for details.
Typing ANSILIST alone will bring up a concise help.
ANSILIST Screen:
────────────────
You will be presented with the first page of the document.
At the bottom of the screen a Status Bar will contain (from right to left):
-the name of the file you're viewing
-the Ansi status (read the Ansi section)
-the Clearscreen status (read the Ansi section)
-the number of the line displayed in the upper row of the screen
-the percentage of the text yo've already viewed (including the current
page)
Commands:
─────────
While viewing a text you can use the following keys:
SPACE/ENTER/PGDWN view next page
PGUP view previous page
HOME moves to the beginning of the file
END moves to the last page of the file
DWN view one line down
UP view one liine up
LEFT view current page, one char to the left
RIGHT view current page, one char on th right
A toggle ANSI capability on/off
C toggle ClearScreen status
Only Registered version:
F find a string in the file, from current position.
matches ignoring case.
N find next occurrence of the string
L load another file
In both versions:
ESC quit ANSILIST
When prompted with error messages hit a key to resume.
ANSILIST & ANSI files.
──────────────────────
The texts this program was at first intended to work with were text files
with ANSI esacape sequeneces which specified colour. This kind of text is
very much similar to plain text, i.e. one line in the file corresponds to
exactly one line on the screen. When I decided to implement all the other
escape sequences, in order to be able to view ANSI drawings, I had some
problems, mainly because an ansi file has not a one-to-one mapping between
file lines and screen lines.
When viewing large ansi file I suggest to use only the PGUP/PGDWN keys,
since in an ansi file with embedded screen coordinates it is rarely effective
to read the next file line hoping to see the drawing scrolling one line.
This is because usually in ansi files it takes several lines in the file to
specify one line on the screen.
Moreover, since ansi drawing is not sequencial, but can move the cursor
everywhere, sometimes portions of the screen are left untouched (and
supposed black). Since we are using a text viewer, the screen is always
covered with characters and rarely empty. That's why I included the option
of clearing the screen before any screen update( i.e. before any movement
command). One can toggle this function on and off with the C key.
This function is useless when viewing files in plain text mode.
Why an ANSI file viewer?
────────────────────────
I was bored to use "type moo.ans" to view files with ansi escapes. When I
discovered GnuAWK and used it to colour up some text, I needed one to check
my work easily, scrolling up and down etc..
I include a Monty Python's sketch -The Hungarian Phrasebook-, coloured so as
to be more readable,as a test of the capabilities of this tiny software.
Should you be interested, I have some little GAWK script able to turn a
screenplay in a coloured screenplayin many ways. Just E-Mail me.
BUGS REPORT
──────────────────────────────
Since this is my first release, it is possible that my program has some bugs.
Even if you are not registered, it would be very useful to report any bug
to me (possibly via E-Mail). Thanx.
SHAREWARE NOTICE
──────────────────────────────
This program is not free, since it has costed me some (light) work finding
out how the hell Ansi really works...
If you keep on using it after a trial period of 23 days tou should register.
To register just send me a Self Adressed Stamped (enuff stamps to allow shippage
of a floppy diisk...) envelope with 5$ (French Francs and Italian Lire of the
roughly same value are OK).
It is a small fee, but it will help me improve ANSILIST and my many other.
projects. Remember to specify if your computer can read 720K disks (which
are cheaper :) ). I will ship you the disk with the registered version which
include some facilities not implemented in the shareware version.
REDISTRIBUTION
─────────────────────────
You may freely redistribute this software as long as you don't alter it and you
keep the ZIP package unaltered. All disclaimers and legal stuff as usual...
My address is:
Walter Gamba
via Torricelli 36
10129 Torino
ITALY
E-Mail: IPER1@pol90a.polito.it
╒═╕╒═╕╒═══╕╒═╤═╕ ╒════╤═══╕╒═╕╒═══╕ ╒═╕
│ ╘╛ ╞╛╒═╕╘╡ │ │ │ ╒══╡ ╒╕╘╡ ││ ═╤╛ │ │
│ │ ╘═╛ │ │ ╘═╕ │ ╘═╕│ ╘╛╒╡ │╘═╕╘╕ │ │
│ ╒╕ │ ╒═╕ │ │ │ │ ═╧╡ ╒╕╘╡ ╞══╛╒╛ ╞═╡
╘═╛╘═╧═╛ ╘═╧═╧═══╛ ╘════╧═╛│ ╞═╧═══╛ ╘═╛
╘═╛